package com.shanzmoo.platform.tomerchant.api.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 登录请求信息
 *
 * @author： Gzhao 2021/3/15
 */
@Data
@ApiModel("登录请求信息")
public class LoginReqBO {

    @NotNull(message = "用户名不能为空")
    @ApiModelProperty(value = "登录手机号", example = "admin", required = true)
    private String mobile;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", example = "123456", required = true)
    private String password;
}
